<!DOCTYPE html>
<html lang="en">

<head>
  <style>
    .red {
      color: green;
    }
  </style>
</head>

<body class="red">
  <svg viewBox="0 0 200 200" width="200" height="200">
    <rect x="10" y="10" width="180" height="180" fill="red"></rect>
    <rect x="10" y="10" width="180" height="180" fill="currentColor"></rect>
  </svg>
</body>

</html>
